package com.shenchuangit.webprintclient.print;

import javax.print.PrintService;
import javax.print.attribute.PrintRequestAttributeSet;
import java.io.File;

public abstract class PrintTask {
    private PrintService printService;

    public abstract void print(File fileToPrint, PrintRequestAttributeSet aset);

    public PrintService getPrintService() {
        return printService;
    }

    public void setPrintService(PrintService printService) {
        this.printService = printService;
    }
}
